package com.stone.dp.buidler.dp_singleton;

public final class Singleton {

	private Singleton() {
//		throw new Error("can't instance this class......");
	}

	static private Singleton singleton = null;
	

	static private synchronized void syncInit(){
		if(singleton == null){
			singleton = new Singleton();
		}
	}

	static public Singleton getInstance() {

		if (singleton == null) {
			syncInit();
		}

		return singleton;
	}

}
